package com.jhyy.demo.controller;

import com.jhyy.demo.bean.AjaxResult;
import com.jhyy.demo.bean.AjaxSuccess;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {

    @GetMapping(value = "/test1")
    public AjaxResult test1() {

        return new AjaxSuccess("Hello World");
    }

}
